package com.example.mes_sys.repository;

import com.example.mes_sys.po.SysUserPo;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.Optional;

public interface SysUserRepository extends JpaRepository<SysUserPo, Long> {

    Optional<SysUserPo> findByUserName(String userName);
}
